﻿using System;
using System.Collections.Generic;
using System.Text;
using Core.Parser.ASN1Parser.Nodes;
using Core.Model;

namespace Core.Parser.ASN1Parser.Builders
{
    internal class RootBuilder
    {   
        public static void Build(TaggedNode node, Root root, Group group)
        {
            root.ObjectIdentifier = ObjectRefBuilder.Build(node.First, group);
        }

        public static void Build(TaggedNode node, Group group)
        {
            group.ObjectIdentifier = ObjectRefBuilder.Build(node.First, group);
        }

    }
}
